//
//  CollectionPrettyViewCell.swift
//  DouYuZB
//
//  Created by DSDL on 2016/10/31.
//  Copyright © 2016年 鼎商动力. All rights reserved.
//

import UIKit
import Kingfisher
class CollectionPrettyViewCell: CollectionViewBaseCell {
    
    //MARK: - 定义控件属性
    @IBOutlet weak var cityBtn: UIButton!
    
    //MARK: - 定义模型属性
    override var anchor: AnchorModel?{
        didSet{
            //1. 将属性传给父类
            super.anchor = anchor
            //2.所在城市
            cityBtn.setTitle(anchor?.anchor_city, for: UIControlState())
        }
    }
    
}
